-
Notifications
You must be signed in to change notification settings - Fork 524
Add support for Skottie #3143
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for Skottie #3143
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds support for Skottie, a new animation format, by introducing new drawing commands, extending the recorder and player interfaces, and defining the associated types and factory for Skottie animations. Key changes include:
- Adding a new drawing command (drawSkottie) in the Skia recorder commands.
- Extending the Visitor, Recorder, ReanimatedRecorder, Player, and Core modules to handle the new Skottie node type.
- Introducing new factory and type definitions (JsiSkottieFactory, JsiSkottieAnimation, and corresponding Skottie types) along with updates to React components and test assets.
Reviewed Changes
Copilot reviewed 47 out of 66 changed files in this pull request and generated 2 comments.
Show a summary per file
File | Description |
---|---|
packages/skia/src/sksg/Recorder/commands/Drawing.ts | Replaces an existing fill command with a drawSkottie command that seeks and renders Skottie animations. |
packages/skia/src/sksg/Recorder/* and Core.ts | Extends the recorder and player logic to support the new Skottie command and NodeType. |
packages/skia/src/skia/* | Adds new Skottie factory, animation implementation, and updates related type exports. |
packages/skia/src/renderer/* | Introduces a new Skottie component and test assets for rendering Skottie animations. |
packages/skia/src/skia/types/* | Adds new type definitions for Skottie animations and updates related enums. |
🎉 This PR is included in version 2.1.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
No description provided.